- 
		Home
	
 
	- 
AMP
 
- 
2.1.2
 
- 
Code
 
- 
Classes
 
-  URLValidationRESTController 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											18 | 
										
																			
											| Dependencies | 
											8 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											296 | 
										
																			
											| Lines of code | 
											190 | 
										
																			
											| Logical lines of code | 
											41 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											75 | 
										
																			
											| Methods | 
											8 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 8
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| validate_post_url() | 
									S  | 
																	45 | 
													6 | 
													44 | 
							
					
				| get_item_schema() | 
									S  | 
																	41 | 
													2 | 
													73 | 
							
					
				| validate_post_id_param() | 
									S  | 
																	54 | 
													4 | 
													22 | 
							
					
				| register() | 
									S  | 
																	51 | 
													1 | 
													30 | 
							
					
				| create_item_permissions_check() | 
									S  | 
																	64 | 
													2 | 
													10 | 
							
					
				| get_registration_action() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| __construct() | 
									S  | 
																	74 | 
													1 | 
													5 | 
							
					
				| is_valid_preview_nonce() | 
									S  | 
																	78 | 
													1 | 
													3 |